<template>
  <div class="main">
    <div class="header">
      <div class="header_banner">
        <a class="header_content_logo" href="#">中国铁路12306</a>
        <div class="header_content_right">
          <div class="header_content_search">
            <input type="text" placeholder="搜索车票、餐饮、常旅客、相关规章" />
          </div>
          <ul class="header_content_ul">
            <li class="header_content_li">
              <a class="header_content_li_a" href="#">爱心模式</a>
            </li>
            <li class="header_content_li">|</li>
            <li class="header_content_li"><a href="#">English</a></li>
            <li class="header_content_li">|</li>
            <li class="header_content_li"><a href="#">我的12306</a></li>
            <li class="header_content_li">|</li>
            <li class="header_content_li">登录</li>
            <li class="header_content_li">注册</li>
          </ul>
        </div>
      </div>
      <div class="header_nav">导航</div>
    </div>
  </div>
</template>

<script>
export default {
  name: "home",
};
</script>

<style>
.main {
  width: 100%;
  height: 100%;
}
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 80px;
  width: 100%;
  border: 1px solid orchid;
}
.header_banner {
  width: 1200px;
  padding: 0 5px;
}
.header_content_logo {
  float: left;
  display: block;
  width: 200px;
  height: 50px;
  margin: 15px 0 15px 15px;
  color: #333;
  text-indent: -9999px;
  text-decoration: none;
  background-color: transparent;
  background-image: image-set(
    url(../../assets/logo.png) 1x,
    url(../../assets/logo@2x.png) 2x
  );
}
.header_content_search {
  width: 380px;
}
.header_content_right {
  position: relative;
  float: right;
  margin: 24px 0 0 0;
  width: 890px;
  height: 40px;
  background-image: url("../../assets/train.png");
  background: no-repeat;
  border: 1px solid blue;
}
.header_content_ul {
  margin: 0;
  float: right;
  padding-right: 10px;
  list-style: none;
  border: 1px solid green;
}
.header_content_li {
  height: 40px;
  line-height: 40px;
  font-size: 12px;
  position: relative;
  margin-left: 10px;
  float: left;
}
.header_content_li_a {
  color: #3b99fc;
  display: block;
  height: 40px;
  line-height: 40px;
  background-color: transparent;
  text-decoration: none;
  list-style: none;
}
.header_nav {
  margin-top: 50px;
  border: 1px solid orangered;
}
</style>